import {Platform, StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  head_right: {
    marginRight: px2dp(41),
  },
  edit: {
    color: '#333333',
    fontSize: px2dp(28),
  },
  container: {
    flex: 1,
    backgroundColor: 'rgb(248, 248, 248)',
  },
  list: {
    backgroundColor: '#fff',
    paddingHorizontal: px2dp(24),
    flex: 1,
    flexDirection: 'row',
    alignItems: 'center',
    marginVertical: px2dp(10),
  },
  checked_icon: {
    width: px2dp(50),
    height: px2dp(50),
  },
  couse_detail: {
    flex: 1,
    flexDirection: 'row',
    paddingHorizontal: px2dp(26),
    marginVertical: px2dp(12),
  },
  couse_cover_box: {
    width: px2dp(176),
    height: px2dp(181),
    marginRight: px2dp(19),
    backgroundColor: '#eee',
  },
  couse_cover: {
    width: px2dp(176),
    height: px2dp(181),
  },
  video_icon: {
    position: 'absolute',
    left: '50%',
    top: '50%',
    marginLeft: px2dp(-16),
    marginTop: px2dp(-16),
    width: px2dp(32),
    height: px2dp(32),
  },
  couse_detail_info: {
    flex: 1,
    height: px2dp(181),
    justifyContent: 'space-between',
  },
  couse_detail_info_head: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
  },
  couse_coupon: {
    fontSize: px2dp(20),
    color: '#EB0029',
  },
  couse_name: {
    fontWeight: 'bold',
    fontSize: px2dp(26),
    color: '#333',
  },
  couse_time: {
    fontSize: px2dp(16),
    color: '#666',
  },
  couse_money: {
    color: '#EB0029',
    fontWeight: 'bold',
    fontSize: px2dp(26),
  },
  couse_desc: {
    fontSize: px2dp(16),
    color: '#999',
    lineHeight: px2dp(24),
  },
  couse_desc_title: {
    color: '#333',
  },
  money_num: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
  },
  num_btn: {
    flexDirection: 'row',
    alignItems: 'center',
  },
  btn_box: {
    width: px2dp(28),
    height: px2dp(28),
    justifyContent: 'center',
    alignItems: 'center',
  },
  minus_icon: {
    width: px2dp(16),
    height: px2dp(3),
  },
  add_icon: {
    width: px2dp(18),
    height: px2dp(18),
  },
  num: {
    width: px2dp(28),
    height: px2dp(28),
    borderWidth: px2dp(1),
    borderColor: '#ccc',
    justifyContent: 'center',
    alignItems: 'center',
    marginHorizontal: px2dp(20),
  },
  num_text: {
    color: '#333',
    fontSize: px2dp(18),
  },
  foot_btn: {
    height: px2dp(98),
    backgroundColor: '#fff',
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
    paddingHorizontal: px2dp(25),
  },
  checked_all: {
    flexDirection: 'row',
    alignItems: 'center',
  },
  checked_all_text: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
    marginLeft: px2dp(25),
  },
  del_btn: {
    width: px2dp(158),
    height: px2dp(48),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(24),
    justifyContent: 'center',
    alignItems: 'center',
  },
  del_btn_text: {
    fontSize: px2dp(26),
    color: '#fff',
    fontWeight: 'bold',
  },
});

export default styles;
